package mysql

import "gorm.io/gorm"

type UserRealname struct {
	gorm.Model
	UserId int    `gorm:"type:int"`
	Name   string `gorm:"type:varchar(30);not null;comment:姓名"`
	Idcard string `gorm:"type:char(18);not null;comment:身份证号"`
	Status string `gorm:"type:varchar(30);not null;comment:状态"`
}
type UserRealnameAdd struct {
	UserRealname
	Mobile   string `gorm:"type:char(11);not null;comment:账号"`
	Password string `gorm:"type:char(32);not null;comment:密码"`
}
